package com.yjps.company.model;

import com.yjps.common.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by 麒全 on 2015/8/18.
 */
@Entity
@Table(name = "recruit")
public class Recruitment extends BaseModel {
    @Column(name = "position",nullable = false)
    private String position;
    @Column(name = "request",nullable = false)
    private String request;
    @Column(name = "treatment",nullable = false)
    private String treatment;
    @Column(name = "recruit_state")
    private boolean state;

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getRequest() {
        return request;
    }

    public void setRequest(String request) {
        this.request = request;
    }

    public String getTreatment() {
        return treatment;
    }

    public void setTreatment(String treatment) {
        this.treatment = treatment;
    }

    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }
}
